package me.fung.rem.app.content.card

import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.onClick
import androidx.compose.material.Icon
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.Add
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import me.fung.rem.app.rem_editor.PAGE_REM_EDITOR
import me.fung.rem.app.navigation

@OptIn(ExperimentalFoundationApi::class)
@Composable
fun addCard() {
    card(modifier = Modifier.onClick(onClick = { navigation.goto(PAGE_REM_EDITOR) })) {
            Icon(Icons.Default.Add, null)
    }
}